package com.hongdee.crm.carConfig.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by My on 2017/5/11.
 */
@Entity
@Table(name = "T_CRM_CAR_CONF")
public class TCrmCarConf extends BaseEntity {

    @Column(name = "role_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '角色ID'")
    private String roleId;

    @Column(name = "u_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '人员信息'")
    private String uId;

    @Column(name = "conf_type", length = 32, columnDefinition = "VARCHAR(32) COMMENT '分配类型:0全部、1尾号、2尾数、3vin、4车型，5剩余车辆'")
    private String confType;

    @Column(name = "conf_val", length = 200, columnDefinition = "VARCHAR(200) COMMENT '尾号、尾数时存储所填写内容'")
    private String confVal;

    @Column(name = "disp_order", length = 11, columnDefinition = "INT(11) COMMENT '排序'")
    private int dispOrder;

    @Column(name = "auto_newcar", length = 32, columnDefinition = "VARCHAR(32) COMMENT '新车自动分配0 否 1是'")
    private String autoNewCar;

    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId;
    }

    public String getConfType() {
        return confType;
    }

    public void setConfType(String confType) {
        this.confType = confType;
    }

    public String getConfVal() {
        return confVal;
    }

    public void setConfVal(String confVal) {
        this.confVal = confVal;
    }

    public int getDispOrder() {
        return dispOrder;
    }

    public void setDispOrder(int dispOrder) {
        this.dispOrder = dispOrder;
    }

    public String getAutoNewCar() {
        return autoNewCar;
    }

    public void setAutoNewCar(String autoNewCar) {
        this.autoNewCar = autoNewCar;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
}
